#!/bin/bash

# WTFPL
# fuck you dbus, fuck you.

fifo="/tmp/notify-send"

trap "rm -rf $fifo" EXIT

if [[ ! -p $fifo ]];
then
    mkfifo $fifo
    chmod 666 $fifo
fi

while read line < $fifo
do
      notify-send "$line"
done
